package ru.paswd.marketprice.storage.receipt.api.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.OffsetDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class EditableReceipt {

    @JsonProperty("fiscalId")
    private FiscalId fiscalId;

    @JsonProperty("company")
    private Company company;

    //Информация о покупках
    @JsonProperty("dateTime")
    private OffsetDateTime dateTime;

    @JsonProperty("totalSum")
    private Integer totalSum;
}
